export function getRedirectPath({type,avatar,name}){
    let url = type==='boss'?'/boss?name='+name:'/jobhunter?name='+name
    if(!avatar){
        url = type + 'info';
    }
    return url;
}